import tkinter as tk

root = tk.Tk()
root.geometry("500x300+100+100")

# column默认值是0
tk.Entry(root).grid(row=1, column=1)
tk.Entry(root).grid(row=1, column=2)
tk.Entry(root).grid(row=1, column=3)
# 如果前面的行与列都没了，就往前靠
tk.Entry(root).grid(row=1, column=10)

tk.Entry(root).grid(row=2, column=1)
tk.Entry(root).grid(row=2, column=2)
tk.Entry(root).grid(row=2, column=3)


tk.Entry(root).grid(row=10, column=3)

tk.Entry(root).grid(row=8, column=1)
tk.mainloop()
